import type { AppRouteModule } from "@/router/types";

import { LAYOUT } from "@/router/constant";
import { t } from "@/hooks/web/useI18n";

const calendar: AppRouteModule = {
  path: "/calendar",
  name: "Calendar",
  component: LAYOUT,
  redirect: "/calendar/events",
  meta: {
    orderNo: 20,
    icon: "ion:calendar-outline",
    title: t("routes.calendar.calendar"),
  },
  children: [
    {
      path: "events",
      name: "CalendarEvents",
      component: () => import("@/views/calendar/events/index.vue"),
      meta: {
        title: t("routes.calendar.events"),
      },
    },
  ],
};

export default calendar; 